<?php
class DefaultLogoutAction extends PiscesAction
{
	public function __construct()
	{
		parent::__construct();
		$this->responseType = 'tpl';
		$this->layout = 'result';
	}

	public function execute()
	{
		C('LtCookie')->delCookie('auth');
		$this->code = 200;
		$this->data['forward'] = C('Lturl')->generate('Default', 'Login');
		
		$this->data['title'] 	= '退出成功';
		$this->message			= '退出成功';
	}
}
